package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetmealDao {
    public void addSetmeal(Setmeal setmeal);

    void addSetmelIdAndCheckGroupIds (Map<String,Integer> map);

    Page<Setmeal> queryPage(String queryString);

    void deleteSermealAndCheckGroup(Integer id);

    void deleteSermeal(Integer id);

    Setmeal findById(Integer id);
    Setmeal findByIds(Integer id);

    List<Integer> findSetMealIdAndCheckGroupId(Integer id);

    List<Setmeal> findAll();
}
